package com.bkgy.modularbx.coil_track_stats.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 酸轧2280分卷全流程统计表
 * @TableName T_COIL_TRACKING_STATS_2280
 */
@TableName(value ="T_COIL_TRACKING_STATS_2280")
public class TrackingStats2280 {
    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Integer indocno;

    /**
     * 统计日期(YYYY-MM-DD)
     */
    private String tocDate;

    /**
     * 合格卷总重量(吨)
     */
    private BigDecimal weight;

    /**
     * 全部卷总重量(吨)
     */
    private BigDecimal totalWeight;

    /**
     * 重量合格率(%)
     */
    private BigDecimal weightRate;

    /**
     * 合格卷数量
     */
    private Integer count;

    /**
     * 全部卷数量
     */
    private Integer totalCount;

    /**
     * 数量合格率(%)
     */
    private BigDecimal countRate;

    /**
     * 异常卷损失重量(吨)
     */
    private BigDecimal lossWeight;

    /**
     * 全部损失重量(吨)
     */
    private BigDecimal totalLossWeight;

    /**
     * 记录创建时间
     */
    private Date createdTime;

    /**
     * 记录更新时间
     */
    private Date updatedTime;

    /**
     * 自增主键
     */
    public Integer getIndocno() {
        return indocno;
    }

    /**
     * 自增主键
     */
    public void setIndocno(Integer indocno) {
        this.indocno = indocno;
    }

    /**
     * 统计日期(YYYY-MM-DD)
     */
    public String getTocDate() {
        return tocDate;
    }

    /**
     * 统计日期(YYYY-MM-DD)
     */
    public void setTocDate(String tocDate) {
        this.tocDate = tocDate;
    }

    /**
     * 合格卷总重量(吨)
     */
    public BigDecimal getWeight() {
        return weight;
    }

    /**
     * 合格卷总重量(吨)
     */
    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    /**
     * 全部卷总重量(吨)
     */
    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    /**
     * 全部卷总重量(吨)
     */
    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    /**
     * 重量合格率(%)
     */
    public BigDecimal getWeightRate() {
        return weightRate;
    }

    /**
     * 重量合格率(%)
     */
    public void setWeightRate(BigDecimal weightRate) {
        this.weightRate = weightRate;
    }

    /**
     * 合格卷数量
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 合格卷数量
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * 全部卷数量
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * 全部卷数量
     */
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    /**
     * 数量合格率(%)
     */
    public BigDecimal getCountRate() {
        return countRate;
    }

    /**
     * 数量合格率(%)
     */
    public void setCountRate(BigDecimal countRate) {
        this.countRate = countRate;
    }

    /**
     * 异常卷损失重量(吨)
     */
    public BigDecimal getLossWeight() {
        return lossWeight;
    }

    /**
     * 异常卷损失重量(吨)
     */
    public void setLossWeight(BigDecimal lossWeight) {
        this.lossWeight = lossWeight;
    }

    /**
     * 全部损失重量(吨)
     */
    public BigDecimal getTotalLossWeight() {
        return totalLossWeight;
    }

    /**
     * 全部损失重量(吨)
     */
    public void setTotalLossWeight(BigDecimal totalLossWeight) {
        this.totalLossWeight = totalLossWeight;
    }

    /**
     * 记录创建时间
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * 记录创建时间
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 记录更新时间
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * 记录更新时间
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TrackingStats2280 other = (TrackingStats2280) that;
        return (this.getIndocno() == null ? other.getIndocno() == null : this.getIndocno().equals(other.getIndocno()))
            && (this.getTocDate() == null ? other.getTocDate() == null : this.getTocDate().equals(other.getTocDate()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getTotalWeight() == null ? other.getTotalWeight() == null : this.getTotalWeight().equals(other.getTotalWeight()))
            && (this.getWeightRate() == null ? other.getWeightRate() == null : this.getWeightRate().equals(other.getWeightRate()))
            && (this.getCount() == null ? other.getCount() == null : this.getCount().equals(other.getCount()))
            && (this.getTotalCount() == null ? other.getTotalCount() == null : this.getTotalCount().equals(other.getTotalCount()))
            && (this.getCountRate() == null ? other.getCountRate() == null : this.getCountRate().equals(other.getCountRate()))
            && (this.getLossWeight() == null ? other.getLossWeight() == null : this.getLossWeight().equals(other.getLossWeight()))
            && (this.getTotalLossWeight() == null ? other.getTotalLossWeight() == null : this.getTotalLossWeight().equals(other.getTotalLossWeight()))
            && (this.getCreatedTime() == null ? other.getCreatedTime() == null : this.getCreatedTime().equals(other.getCreatedTime()))
            && (this.getUpdatedTime() == null ? other.getUpdatedTime() == null : this.getUpdatedTime().equals(other.getUpdatedTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getIndocno() == null) ? 0 : getIndocno().hashCode());
        result = prime * result + ((getTocDate() == null) ? 0 : getTocDate().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getTotalWeight() == null) ? 0 : getTotalWeight().hashCode());
        result = prime * result + ((getWeightRate() == null) ? 0 : getWeightRate().hashCode());
        result = prime * result + ((getCount() == null) ? 0 : getCount().hashCode());
        result = prime * result + ((getTotalCount() == null) ? 0 : getTotalCount().hashCode());
        result = prime * result + ((getCountRate() == null) ? 0 : getCountRate().hashCode());
        result = prime * result + ((getLossWeight() == null) ? 0 : getLossWeight().hashCode());
        result = prime * result + ((getTotalLossWeight() == null) ? 0 : getTotalLossWeight().hashCode());
        result = prime * result + ((getCreatedTime() == null) ? 0 : getCreatedTime().hashCode());
        result = prime * result + ((getUpdatedTime() == null) ? 0 : getUpdatedTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", indocno=").append(indocno);
        sb.append(", tocDate=").append(tocDate);
        sb.append(", weight=").append(weight);
        sb.append(", totalWeight=").append(totalWeight);
        sb.append(", weightRate=").append(weightRate);
        sb.append(", count=").append(count);
        sb.append(", totalCount=").append(totalCount);
        sb.append(", countRate=").append(countRate);
        sb.append(", lossWeight=").append(lossWeight);
        sb.append(", totalLossWeight=").append(totalLossWeight);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append("]");
        return sb.toString();
    }
}